class Person:
    name = "tim"
    age = 18

    def hi(self):
        print(f"hi,{self.name}")

    def ok(self):
        print("ok...")
        self.hi()

p1 = Person()
p1.hi()
p1.ok()

